﻿
namespace DotNetDAL.Entity
{
    /// <summary>
    /// 批量执行SQL语句之执行参数
    /// </summary>
    public class SqlParams
    {

        /// <summary>
        /// SQL语句
        /// </summary>
        public string Sql { get; set; }
        /// <summary>
        /// 参数
        /// </summary>
        public object Parameter { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        public SqlParams()
        {
            Sql = string.Empty;
        }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="Sql">SQL语句</param>
        /// <param name="Parameter">参数</param>
        public SqlParams(string Sql, object Parameter)
        {
            this.Sql = Sql;
            this.Parameter = Parameter;
        }

    }

}
